import Service from "@/service";

//获取所有字典信息
export function getAllDictType() {
    return Service.get('/api/dictType/getAll')
}

//获取所有字典信息
export function getDictTypeData(params: any) {
    return Service.get('/api/dictType/getData', {params})
}

//保存字典信息
export function saveDictTypeData(data: any) {
    return Service.post('/api/dictType/save', data)
}

//删除字典类型
export function delDictTypeData(params: string) {
    return Service.delete('/api/dictType/del', {params})
}
